#ifndef __THREADSTARTER_H__
#define __THREADSTARTER_H__

#include <windows.h>

//the interface for thread class
class ThreadBase
{
public:
	ThreadBase() {}
	virtual ~ThreadBase() {}
	//the method to run the thread
	virtual bool Run() = 0;
	virtual void OnShutdown() {}
	HANDLE THREAD_HANDLE;
};

#endif//__THREADSTARTER_H__
